@import "variable";
body {
    background-color: #f6f6f6;
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    ul,
    li {
        margin: 0;
    }
    .container {
        max-width: 1190px !important;
        padding: 0;
    }
    .search_text {
        max-width: 446px;
    }
    .box_hd {
        .rel();
        padding: 0 20px 0 30px;
        height: 55px;
        line-height: 55px;
        color: @font_white;
        .clearfix();
    }
    .box_hd_l {
        .fl();
    }
    .box_hd_r {
        .fr();
    }
    .box_hd_dec {
        .abs();
        left: -4px;
        top: -4px;
        width: 28px;
        height: 28px;
    }
    .box_hd_icon {
        .fl();
    }
    .box_tit {
        .fl();
        font-family: fzzhengheis-el-gbregular;
        .font-s26();
        .font-w400();
        line-height: 40px;
        height: 40px;
        padding-top: 9px;
    }
    .box_subtit {
        .fr();
        .rel();
        margin-top: 19px;
        padding-right: 20px;
        height: 24px;
        line-height: 24px;
        .font-s14();
        color: @font_white;
        &:hover {
            color: @font_white;
        }
    }
    .box_bd {
        background-color: @font_white;
    }
    .box_hd_arrow {
        .abs();
        top: 0;
        left: 0;
        width: 0;
        height: 0;
        border-top: 19px solid @bg_f7;
        border-right: 19px solid transparent;
    }
    .ftit_inner {
        overflow: hidden;
        padding: 0 0 20px;
        height: 35px;
        background: url("../img/dot.png") repeat-x 0 18px;
        text-align: center;
        .font-s24();
        line-height: 35px;
        h3 {
            display: inline;
            padding: 0 50px;
            background-color: #f6f6f6;
            .font-s26();
            color: @font_grey_3;
            .font-w400();
        }
    }
}
nav {
    .dd {
        height: 480px;
    }
    #nav {
        width: 190px;
    }
    .dd_layer {
        left: 189px;
    }
}
#banner {
    .container {
        .rel();
        z-index: 1;
        height: 480px;
    }
    .banner1 {
        margin-top: -10px;
        width: 790px;
        .fl();
        height: 100%;
        margin-left: 10px;
    }
    .slider_main {
        height: 340px;
        margin-bottom: 10px;
        .rel();
        &:hover {
            .slider_main_btn {
                display: block;
            }
        }
        a,
        img {
            width: 100%;
            height: 100%;
        }
    }
    .slider_main_btn {
        display: none;
        width: 30px;
        height: 60px;
        background: rgba(0,0,0,.1);
        line-height: 60px;
        text-align: center;
        .iconfont {
            .font-s20();
            color: @font_white;
        }
    }
    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background-color: @font_white;
        opacity: 1;
    }
    .swiper-pagination-bullet-active {
        background: #db192a;
    }
    .slider_extend {
        height: 130px;
        margin-left: -10px;
    }
    .slider_extend_item {
        .fl();
        margin-left: 10px;
        width: 390px;
        height: 130px;
        a {
            display: block;
            width: 100%;
            height: 100%;
            background: @font_white;
        }
        img {
            display: block;
            width: 390px;
            height: 130px;
            border: 0;
        }
    }
    .banner2 {
        .fr();
        width: 190px;
        height: 100%;
        background-color: @font_white;
        margin-left: 10px;
        margin-top: -10px;
    }
    .user {
        padding: 0 10px;
        height: 115px;
        border-bottom: @border_banner;
    }
    .user_info {
        .rel();
        padding: 15px 0 15px 60px;
        height: 45px;
        display: table;
    }
    .user_info_avatar {
        .abs();
        margin-left: -60px;
        width: 45px;
        height: 45px;
        a,
        img {
            width: 100%;
            height: 100%;
        }
    }
    .user_info_show {
        p {
            margin-top: 2px;
            width: 100%;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
        a {
            margin-right: 5px;
            color: #000;
            &:hover {
                color: @font_red;
            }
        }
    }
    .user_profit {
        height: 24px;
        a {
            display: inline-block;
            margin-right: 10px;
            width: 70px;
            height: 20px;
            border: 2px solid #e01222;
            line-height: 20px;
            font-size: 12px;
            text-align: center;
            color: #e01222;
        }
    }
    .news {
        padding: 0 15px;
        height: 118px;
    }
    .news_tab_head {
        padding: 8px 0 4px;
        border-bottom: @border_banner;
        .rel();
        line-height: 14px;
        li {
            display: inline-block;
            color: @font_dark_grey;
            cursor: pointer;
        }
        .news_item {
            color: @font_grey_3;
            padding-right: 12px;
            padding-left: 12px;
            border-right: @border_banner;
            &:first-child {
                padding-left: 0;
            }
            &:last-child {
                border-right: 0;
                padding-right: 0;
            }
            &.active {
                a {
                    color: @font_red;
                }
            }
        }
        .more {
            .abs();
            right: 0;
            top: 8px;
            color: @font_dark_grey;
            &:hover {
                color: @font_red;
            }
        }
    }
    .news_tab_content {
        padding: 12px 0;
    }
    .news_list_item {
        line-height: 22px;
        max-width: 160px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        a {
            color: @font_dark_grey;
            &:hover {
                color: @font_red;
            }
        }
    }
    .service {
        height: 210px;
    }
    .mobile {
        .rel();
    }
    .mobile_btn {
        cursor: default;
        overflow: hidden;
        display: block;
        height: 36px;
        background-color: #60575a;
        line-height: 36px;
        text-align: center;
        .icon-shouji {
            font-size: 16px;
            color: @font_white;
        }
        .mobile_btn_text {
            color: @font_white;
            font-size: 16px;
            font-weight: 200;
        }
    }
}
#seckill {
    margin-bottom: 30px;
    height: 305px;
    .box_hd {
        background: url("../img/seckill_hd.png") no-repeat 0 0;
    }
    .box_hd_dec {
        background-image: url("../img/sprite_index@1x.png");
        background-position: 218px 188px;
        background-repeat: no-repeat;
    }
    .box_hd_icon {
        margin-top: 8px;
        margin-right: 8px;
        background-image: url("../img/sprite_index@1x.png");
        background-position: 0 -40px;
        background-size: 218px 188px;
        background-repeat: no-repeat;
        width: 34px;
        height: 40px;
    }
    .box_subtit {
        .fl();
        margin-left: 12px;
    }
    .sk_cd {
        .fl();
    }
    .sk_cd_tip {
        .fl();
        line-height: 45px;
        padding-top: 10px;
        .font-s14();
    }
    .sk_cd_main {
        .fl();
        margin-left: 6px;
        margin-right: 8px;
    }
    .cd {
        .clearfix();
    }
    .cd_item {
        .fl();
        width: 35px;
        height: 37px;
        background-color: #440106;
        color: @font_red;
        .font-s24();
        .font-w700();
        border-radius: 3px;
        text-align: center;
        line-height: 37px;
        margin-top: 10px;
    }
    .cd_split {
        .fl();
        margin: 22px 4px 0;
        width: 4px;
        height: 12px;
    }
    .cd_split_dot {
        display: block;
        width: 4px;
        height: 4px;
        border-radius: 100%;
        background-color: #440106;
        &:first-child {
            margin-bottom: 4px;
        }
        &:last-child {
            top: 30px;
        }
    }
    .box_bd {
        padding: 12px 0 13px;
        height: 250px;
        overflow: hidden;
        .clearfix();
    }
    .sk_list_wrapper {
        .fl();
    }
    .sk_item {
        .fl();
        width: 200px;
        height: 225px;
        padding: 0 14px 0 15px;
        border-right: @border_banner;
    }
    .sk_item_pic {
        .rel();
        text-align: center;
    }
    .sk_item_tag {
        .abs();
        top: 0;
        left: 0;
        text-align: center;
        background-image: url("../img/sprite_index@1x.png");
        background-position: -54px -40px;
        background-size: 218px 188px;
        background-repeat: no-repeat;
        width: 30px;
        height: 40px;
        z-index: 1;
    }
    .sk_item_tag_txt {
        .font-s12();
        color: @font_white;
        line-height: 14px;
        display: inline-block;
        vertical-align: 2px;
        padding-top: 2px;
    }
    .sk_item_pic_lk {
        display: block;
        outline: 0;
    }
    .sk_item_img {
        transition: transform 0.4s ease,-webkit-transform 0.4s ease,-moz-transform 0.4s ease;
        transform: translateY(0);
        width: 130px;
        height: 130px;
        margin: 17px 0;
        border: 0;
        &:hover {
            transform: translateY(-10px);
        }
    }
    .sk_item_name {
        color: @font_dark_grey;
        display: block;
        max-width: 100%;
        overflow: hidden;
        .font-s12();
        text-align: left;
        height: 32px;
        line-height: 16px;
        word-wrap: break-word;
        word-break: break-all;
    }
    .sk_item_shadow {
        .abs();
        left: 0;
        top: 130px;
        text-align: center;
        background-image: url("../img/sprite_index@1x.png");
        background-position: 0 0;
        background-size: 218px 218px;
        background-repeat: no-repeat;
        width: 170px;
        height: 20px;
    }
    .sk_item_price {
        padding: 3px 0;
        height: 25px;
    }
    .mod_price {
        .font-s12();
        color: @font_red;
    }
    .sk_item_price_n {
        .font-s18();
        .font-w700();
        margin-right: 9px;
    }
    .sk_item_price_o {
        color: @font_grey;
    }
    .sk_special {
        margin: 0 10px 0 0;
        .fr();
        img {
            width: 180px;
            height: 225px;
            display: block;
        }
    }
}
#need {
    margin-bottom: 30px;
    height: 444px;
    .no_border_r {
        border-right: 1px solid @font_white !important;
    }
    .no_border_b {
        border-bottom: 1px solid @font_white !important;
    }
    .find,
    .brand,
    .top {
        width: 390px;
        height: 444px;
        .fl();
        overflow: hidden;
    }
    .find,
    .brand {
        margin-right: 10px;
        .box_hd {
            background: @main_blue;
            .clearfix();
        }
        ul {
            .clearfix();
            width: 370px;
            height: 363px;
            overflow: hidden;
        }
    }
    .box_hd_dec {
        background-image: url("../img/sprite_index@1x.png");
        background-position: -190px -96px;
        background-size: 218px 188px;
        background-repeat: no-repeat;
        width: 28px;
        height: 28px;
    }
    .box_bd {
        padding: 10px;
        height: 389px;
        .clearfix();
    }
    .need_item {
        .fl();
        border-right: @border_banner;
        border-bottom: @border_banner;
        &:nth-child(2n) {
            border-right: 0;
            margin-right: -1px;
        }
    }
    .need_item_lk {
        display: block;
        width: 185px;
        height: 120px;
        .rel();
        &:hover img {
            transform: translateX(-10px);
        }
        p {
            .font-s14();
            color: @main_blue;
            .abs();
            top: 15px;
            left: 20px;
            width: 80px;
            line-height: 20px;
            z-index: 1;
            word-wrap: break-word;
        }
        img {
            .abs();
            bottom: 5px;
            right: 10px;
            height: 80px;
            width: 80px;
            transition: transform 0.4s ease-out,-webkit-transform 0.4s ease-out,-moz-transform 0.4s ease-out;
        }
    }
    .brand {
        .box_hd {
            background: @main_zi;
        }
        .need_item_lk {
            p {
                color: @main_zi;
            }
        }
        .box_hd_dec {
            background-position: 0 -160px;
        }
    }
    .top {
        .box_hd {
            background: @main_orange;
        }
        .box_hd_dec {
            background-position: -190px 0;
        }
    }
    .top_tab_head {
        padding: 6px 0 7px;
        border-bottom: @border_banner;
        width: 370px;
        height: 31px;
        white-space: nowrap;
        overflow: hidden;
        .rel();
        .clearfix();
    }
    .top_tab_head_item {
        display: inline-block;
        line-height: 18px;
        .font-s14();
        width: 73px;
        border-right: @border_banner;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        &.active {
            background: @main_orange;
            color: @font_white;
        }
    }
    .tab_content_item {
        height: 335px;
        overflow: hidden;
        ul {
            height: 100%;
            .clearfix();
        }
        li {
            .rel();
            .fl();
            width: 123px;
            text-align: center;
        }
    }
    .top_lk {
        display: block;
        padding: 12px 0;
        border-right: @border_banner;
        border-bottom: @border_banner;
        cursor: pointer;
        p {
            height: 32px;
            text-align: left;
            padding: 0 11px;
            line-height: 16px;
            overflow: hidden;
            word-wrap: break-word;
            word-break: break-all;
        }
    }
    .top_rank {
        .abs();
        top: 12px;
        left: 11px;
        color: @font_white;
        line-height: 35px;
        text-align: center;
        .font-s22();
        background-image: url("../img/sprite_index@1x.png");
        background-position: -100px -100px;
        background-size: 218px 188px;
        background-repeat: no-repeat;
        width: 30px;
        height: 40px;
    }
    .top_1 {
        background-position: -104px -40px;
    }
    .top_2 {
        background-position: -50px -100px;
    }
    .top_3 {
        background-position: 0 -100px;
    }
    .top_pic {
        margin-bottom: 10px;
        img {
            width: 100px;
            height: 100px;
        }
    }
}
.rec {
    margin-bottom: 30px;
    height: 100px;
    background-color: #E0E0E0;
    .rec_list {
        overflow: hidden;
        height: 100px;
    }
    .rec_item {
        overflow: hidden;
        .fl();
        width: 396px;
        height: 100%;
        a {
            display: block;
            height: 100%;
        }
        img {
            display: block;
            margin: auto;
            transition: opacity 0.2s;
            height: 100%;
            width: 100%;
        }
    }
}
#entry1 {
    margin-bottom: 30px;
    height: 405px;
    .entry_list {
        height: 350px;
        overflow: hidden;
        margin-left: -10px;
        widows: 1200px;
    }
    .entry_item {
        width: 390px;
        height: 170px;
        overflow: hidden;
        .rel();
        .fl();
        margin: 0 0 10px 10px;
        background-color: @font_white;
        a {
            display: block;
            height: 100%;
            width: 100%;
        }
        &:hover img {
            transform: translateX(-10px);
        }
    }
    .entry_bg {
        width: 36%;
        height: 100%;
        color: @font_white;
        .abs();
        top: 0;
        left: 0;
        z-index: 1;
        opacity: 0.9;
    }
    .entry_info {
        padding-top: 45px;
        width: 100px;
        .font-s14();
        margin: 0 auto;
        h4 {
            overflow: hidden;
            height: 40px;
            border-top: 2px solid @font_white;
            border-bottom: 2px solid @font_white;
            .font-s20();
            line-height: 40px;
            text-align: center;
            .font-w400();
        }
        p {
            overflow: hidden;
            margin-top: 8px;
            height: 32px;
            line-height: 16px;
        }
    }
    img {
        width: 400px;
        height: 170px;
        transition: transform 0.3s ease-in,-webkit-transform 0.3s ease-in,-moz-transform 0.3s ease-in;
    }
    .entry_item1 {
        .entry_bg {
            background-color: @entry_1;
        }
    }
    .entry_item2 {
        .entry_bg {
            background-color: @entry_2;
        }
    }
    .entry_item3 {
        .entry_bg {
            background-color: @entry_3;
        }
    }
    .entry_item4 {
        .entry_bg {
            background-color: @entry_4;
        }
    }
    .entry_item5 {
        .entry_bg {
            background-color: @entry_5;
        }
    }
    .entry_item6 {
        .entry_bg {
            background-color: @entry_6;
        }
    }
}
.ash {
    height: 578px;
    margin-bottom: 30px;
    .ash_col {
        .fl();
        width: 590px;
        margin-right: 10px;
        overflow: hidden;
    }
    .pt_hd {
        height: 58px;
        padding: 16px 20px 16px 25px;
        overflow: hidden;
        h3 {
            .fl();
            .font-s22();
            color: @font_white;
            line-height: 26px;
            .font-w400();
            max-width: 100px;
            overflow: hidden;
            word-wrap: break-word;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
    }
    .pt_tags {
        .fr();
        max-width: 440px;
        overflow: hidden;
        height: 28px;
        text-align: right;
        a {
            background-color: hsla(0,0%,100%,.2);
            display: inline-block;
            height: 24px;
            line-height: 24px;
            padding: 0 10px;
            border: 1px solid @font_white;
            margin-left: 10px;
            margin-bottom: 10px;
            max-width: 100px;
            overflow: hidden;
            word-break: break-all;
            word-wrap: break-word;
            white-space: nowrap;
            text-overflow: ellipsis;
            color: @font_white;
        }
    }
    .pt1 {
        .pt_hd {
            background-color: @entry_1;
        }
        .pt_bi_tit {
            color: @entry_1;
        }
    }
    .pt_hd_wrapper {
        padding: 10px;
        background-color: @font_white;
        overflow: hidden;
    }
    .pt_bd {
        .rel();
        overflow: hidden;
    }
    .pt_bd_inner {
        width: 200%;
    }
    .pt_cover {
        .fl();
        width: 183px;
        height: 260px;
        overflow: hidden;
        margin-right: 10px;
        background-color: @bg_f7;
        img {
            display: block;
            width: 193px;
            height: 260px;
            transition: transform 0.2s,-webkit-transform 0.2s,-moz-transform 0.2s;
        }
    }
    .pt_bi {
        .fl();
        width: 376px;
        height: 260px;
        .rel();
        overflow: hidden;
    }
    .pt_bi_split {
        .abs();
        display: block;
    }
    .pt_bi_split_h {
        top: 130px;
        left: 0;
        width: 500px;
        height: 1px;
        background-color: @border_light_grey;
    }
    .pt_bi_split_v {
        top: 0;
        left: 188px;
        width: 1px;
        height: 500px;
        background-color: @border_light_grey;
    }
    .pt_bi_item {
        .rel();
        .fl();
        width: 188px;
        height: 130px;
        &:hover {
            .pt_bi_img {
                transform: translateX(-10px);
            }
        }
    }
    .pt_bi_tit {
        .abs();
        top: 25px;
        left: 25px;
        .font-s14();
        max-width: 130px;
        overflow: hidden;
        word-break: break-all;
        word-wrap: break-word;
        white-space: nowrap;
        text-overflow: ellipsis;
        z-index: 1;
    }
    .pt_bi_promo {
        .abs();
        top: 50px;
        left: 25px;
        .font-s12();
        max-width: 50px;
        z-index: 1;
    }
    .pt_bi_img {
        transition: transform 0.5s,-webkit-transform 0.5s,-moz-transform 0.5s;
        .abs();
        bottom: 10px;
        right: 5px;
        display: block;
        width: 100px;
        height: 100px;
        background-color: @bg_f7;
    }
    .pt_more {
        clear: both;
        height: 140px;
        overflow: hidden;
        padding-top: 10px;
        a {
            .fl();
            width: 183px;
            height: 130px;
            overflow: hidden;
            margin-right: 10px;
            background-color: @bg_f7;
            &:hover img {
                transform: translateX(-10px);
            }
        }
        img {
            transition: transform 0.4s,-webkit-transform 0.4s,-moz-transform 0.4s;
            display: block;
            overflow: hidden;
            width: 193px;
            height: 130px;
        }
    }
    .pt_ft {
        padding: 10px 0 0;
        clear: both;
        background: @font_white;
        overflow: initial;
        &:hover .pt_ft_btn {
            display: block;
        }
    }
    .pt_ft_item {
        .fl();
        border-right: 1px solid @border_light_grey;
        padding: 0 12px;
        height: 28px;
        margin-top: 7px;
        img {
            display: block;
            width: 70px;
            height: 35px;
            margin-top: -7px;
        }
    }
    .pt_ft_btn {
        display: none;
        height: 27px;
        background-image: none;
        line-height: 54px;
        text-align: center;
        .iconfont {
            .font-s20();
            color: @font_dark_grey;
        }
        &.swiper-button-next {
            right: -10px;
        }
        &.swiper-button-prev {
            left: -10px;
        }
    }
    .ash_col2 {
        margin-right: 0;
    }
}
.footer_help dl {
    width: 222px !important;
}
@media only screen and (min-width: 1230px) {
    nav {
        .dd_layer {
            width: 1001px !important;
        }
    }
}
@media only screen and (max-width:1230px) {
    nav {
        .dd_layer {
            width: 801px !important;
        }
    }
    .rec {
        .rec_item {
            width: 330px !important;
        }
    }
    .ash {
        .ash_col {
            width: 490px;
        }
        .pt_cover {
            width: 150px;
        }
        .pt_bi_split_v {
            left: 155px;
        }
        .pt_bi_tit {
            left: 10px;
        }
        .pt_bi_promo {
            left: 10px;
        }
        .pt_bi_item {
            width: 155px;
        }
        .pt_more a {
            width: 150px;
        }
        .pt_ft_item {
            padding: 0 6px;
            img {
                width: 65px;
                height: 33px;
            }
        }
    }
}
#elevator {
    position: fixed;
    z-index: 100;
//  left: 138.5px;
    bottom: 40px;
    box-shadow: 0 0 4px rgba(0,0,0,.2);
    background-color: @font_dark_grey;
    .handler {
        overflow: hidden;
        display: block;
        width: 34px;
        line-height: 14px;
        transition: color 0.1s;
        border-bottom: 1px solid @font_white;
        a {
            color: @font_white;
            display: inline-block;
            width: 34px;
            height: 100%;
            padding: 10px 5px;
            &.active {
                background: @font_red;
            }
        }
        &:hover {
            border-color: @font_red;
        }
    }
}
@media only screen and (min-width:1200px) {
    .c {
        .container {
            width: 1190px;
        }
    }
    #seckill {
        .sk_list_wrapper {
            width: 1000px;
        }
        .sk_item:last-child {
            display: block;
        }
    }
}
@media only screen and (max-width:1200px) {
    .c {
        .container {
            width: 990px;
        }
    }
    #seckill {
        .sk_list_wrapper {
            width: 800px;
        }
        .sk_item:last-child {
            display: none;
        }
    }
    #need #find {
        width: 190px;
        .box_subtit {
            display: none;
        }
        ul {
            width: 170px;
        }
        .need_item:nth-child(3) {
            border-bottom: 1px solid @font_white;
        }
        .need_item_lk {
            width: 170px;
            img {
                right: 0;
            }
        }
    }

}
@media only screen and (max-width:1230px) {
     #entry1 .entry_item{
        width: 323px;
    }   
}